package day02;

import javax.sound.midi.Soundbank;

public class DateTypeDemo {
    public static void main(String[] args) {
/*
        int a = 250;
//        int b =1000000000000;
        System.out.println(5 / 2);
        System.out.println(2 / 5);
        System.out.println(5 / 2.0);

        System.out.println(Integer.MAX_VALUE);
        int d = 2147483647;
        System.out.println(d += 1);
*/

/*
        long a = 25L;
//        long b=100000000000000

        long c = 100000000000L;
        long d = 365L * 24 * 60 * 60 * 1000;
        System.out.println(d);

        long e = 1000000000 * 2 * 10L;
        System.out.println(e);
        long f = 1000000000 * 3 * 10L;
        System.out.println(f);
        long g = 1000000000L * 3 * 10;
        System.out.println(g);
*/

     /*   double a = 25.678;
        float b = 25.678F;
        double c = 3.0, d = 2.9;
        System.out.println(c-d);*/
 /*       char[] c1 = {'女', 'f', '6', ' '};
        for (int i = 0; i < c1.length; i++) {
            System.out.println(c1[i]);
        }
        System.out.println((char) 65);
        char c9 = '\\';
        System.out.println(c9);
        char c10 = '\'';
        System.out.println(c10);*/
        int a = 5;
        long b = a;
        int c = (int) b;
        long d = 5;
        double e = 4;
        System.out.println(e);
        long f = 100000000000L;
        int g = (int) f;
        System.out.println(g);
        double h = 25.978;
        int i = (int) h;
        System.out.println(i);
        byte b1 = 5;
        byte b2 = 6;
        byte b3 = (byte) (b1 + b2);
        System.out.println(2+2);
        System.out.println('2'+'2');
        System.out.println(2+'2');
        System.out.println('你'+'我');
        System.out.println((int)('我'));
        char cc=65;
        System.out.println(cc);

    }

}
